package top.gytf.unifiedcall.example.springmvc.expection;

import top.gytf.unifiedcall.model.exception.builtin.OperationUnsupportedException;
import top.gytf.unifiedcall.producer.support.exception.ExceptionBind;

/**
 * 测试ExceptionBindAdapter的异常
 */
@ExceptionBind(exception = OperationUnsupportedException.class, defaultMessage = "测试")
public class BindTestException extends RuntimeException {
    public BindTestException() {
    }

    public BindTestException(String message) {
        super(message);
    }

    public BindTestException(String message, Throwable cause) {
        super(message, cause);
    }

    public BindTestException(Throwable cause) {
        super(cause);
    }

    public BindTestException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) {
        super(message, cause, enableSuppression, writableStackTrace);
    }
}
